package com.yunxi.model.sto;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 整车外向发货单
 * </p>
 *
 * @author caoYong
 * @since 2019-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_sto_vehicle_delivery")
@ApiModel(value="StoVehicleDelivery对象", description="整车外向发货单")
public class StoVehicleDelivery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "VEHICLE_DELIVERY_ID", type = IdType.UUID)
    private String vehicleDeliveryId;

    @ApiModelProperty(value = "运达方编码,渠道编码")
    @TableField("KUNNR")
    private String kunnr;

    @ApiModelProperty(value = "销售组织,AS51 国内整车销售组织")
    @TableField("VKORG")
    private String vkorg;

    @ApiModelProperty(value = "资金类型编号,A，现金；1，三方承兑-银票；2，AFC融资；3，其他；")
    @TableField("SDABW")
    private String sdabw;

    @ApiModelProperty(value = "PMS订单号")
    @TableField("BSTKD")
    private String bstkd;

    @ApiModelProperty(value = "SAP交货单号,	一台车一个交接单号")
    @TableField("VBELN")
    private String vbeln;

    @ApiModelProperty(value = "行号,一车一单默认10")
    @TableField("POSNR")
    private String posnr;

    @ApiModelProperty(value = "车辆VIN码")
    @TableField("VHVIN")
    private String vhvin;

    @ApiModelProperty(value = "物料编码")
    @TableField("MATNR")
    private String matnr;

    @ApiModelProperty(value = "外饰颜色代码")
    @TableField("COLORID")
    private String colorid;

    @ApiModelProperty(value = "内饰颜色代码")
    @TableField("COLORIN")
    private String colorin;

    @ApiModelProperty(value = "数量,默认为1")
    @TableField("LFIMG")
    private String lfimg;

    @ApiModelProperty(value = "单位")
    @TableField("UNIT")
    private String unit;

    @ApiModelProperty(value = "工厂,AS11 销售公司整车工厂")
    @TableField("WERKS")
    private String werks;

    @ApiModelProperty(value = "计划发运日期")
    @TableField("WADATIST")
    private String wadatist;

    @ApiModelProperty(value = "出库地点,库存组织ID,VW01 销售公司整车库")
    @TableField("LGORT")
    private String lgort;

    @ApiModelProperty(value = "客户收车地址")
    @TableField("DEALERADD")
    private String dealeradd;

    @ApiModelProperty(value = "订单类型,ZLF1 整车交货单,ZLR1 退货交货单,ZLR2 寄售返回单,ZLF2 整车寄售虚拟发货单")
    @TableField("LFART")
    private String lfart;

    @ApiModelProperty(value = "交货单创建日期")
    @TableField("ERDAT")
    private String erdat;

    @ApiModelProperty(value = "交货单创建时间")
    @TableField("ERZET")
    private String erzet;

    @ApiModelProperty(value = "发运方式,01 标准,02 自提,03 直送")
    @TableField("VSBED")
    private String vsbed;

    @ApiModelProperty(value = "发运类型,01 卡车,02 邮件,03 铁路,04 海")
    @TableField("VSART")
    private String vsart;

    @ApiModelProperty(value = "收车客户联系人")
    @TableField("CONNAME")
    private String conname;

    @ApiModelProperty(value = "收车客户联系人电话")
    @TableField("TELF1")
    private String telf1;

    @ApiModelProperty(value = "操作指示符,I 新增  U 更新 ")
    @TableField("INDICATOR")
    private String indicator;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;


}
